﻿using Autofac;
using System;
using System.Collections.Generic;
using System.Text;
using WebSocketCore.Domain.Impl;

namespace WebSocketCore.Domain.Cfg
{
    public class Ioc
    {
        public static IContainer Container { get; set; }

        public static T Resove<T>()
        {
            return Container.Resolve<T>();
        }
    }
}
